#include <iostream>

void undefinedBehavior() {
    int x = 10;
    int y = 0;
    int z = x / y; // 除以零，未定义行为
    std::cout << "z = " << z << std::endl;
}

int main() {
    undefinedBehavior();
    return 0;
}
